<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>091-布局-相对定位注意点.html</title>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		.box{
			width: 200px;
			height: 200px;
			background-color: red;
			padding: 30px
			margin:50px;
			border: 1px solid #000;
			/*position: relative;*/
			/*left: 100px;*/
			/*top: 100px;*/
		}
		.box1{
			width: 300px;
			height: 300px;
			background-color: skyblue;
		}
		span{
			/*float: left;*/
			position: relative;
			left: 50px;
			top: 50px;
			width: 100px;
			height: 100px;
			margin: 20px;
			padding: 20px;
			background-color: gray;
		}
	</style>
</head>
<body>
	<div class="box"></div>
	<div class="box1"></div>
	<span>span</span>
</body>
</html>